﻿using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Windows.Forms;

namespace XiTongJiCheng
{
    public partial class Form_ShowTongJi : Form
    {
        public Form_ShowTongJi()
        {
            InitializeComponent();
        }

        public delegate void MakeOneMessage(string s);
        public event MakeOneMessage CelarSelf;

        public void BindData(string data)
        {
            textBox1.Text = data;
        }

        private void Form_ShowTongJi_FormClosed(object sender, FormClosedEventArgs e)
        {
            if (CelarSelf != null)
            {
                CelarSelf("我也要自爆了");
            }
        }
    }
}
